package org.streets.workflow.engine.task;

import org.streets.workflow.engine.WorkflowException;
import org.streets.workflow.engine.ITaskInstance;


/**
 * 调用后台程序逻辑的句柄。
 * @author chennieyun
 *
 */
public interface ITaskExecutor {
    /**
     * 节点（对应的task自动执行）
     * @param taskInstance
     * @throws WorkflowException
     */
    public void execute(ITaskInstance taskInstance)throws WorkflowException;
}
